<?php
/* @var $this DashboardController */
/* @var $model GraphConfiguration */
/* @var $form CActiveForm */
?>

<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'graph-configuration-form',
	'enableAjaxValidation'=>false,
)); ?>

	<p class="note">Fields with <span class="required">*</span> are required.</p>

	<?php echo $form->errorSummary($model); ?>

	<div class="row">
		<?php $temp = $model->attributeLabels(); 
		echo $temp['name'].': '; 
		?>
		<?php echo $model->attributes['name']; ?>
	</div>

	<div class="row">
		<?php $temp = $model->attributeLabels(); 
		echo $temp['filter'].': '; 
		?>
		<?php echo $model->attributes['filter']; ?>
	</div>

	<div class="row">
		<?php $temp = $model->attributeLabels(); 
		echo $temp['type'].': '; 
		?>
		<?php echo $model->attributes['type']; ?>
	</div>

	<!--<div class="row">
		<?php //echo $form->labelEx($model,'tags'); ?>
		<?php //echo $form->textField($model,'tags',array('size'=>40,'maxlength'=>40)); ?>
		<?php //echo $form->error($model,'tags'); ?>
	</div>-->

	<div class="row buttons">
		<?php echo CHtml::submitButton($model->isNewRecord ? 'Create' : 'Save'); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- form -->